//
//  MineTabViewController.m
//  IceBreaker
//
//  Created by Chiao Wolfire on 12-10-8.
//  Copyright (c) 2012年 NDS. All rights reserved.
//

#import "MineTabViewController.h"

@interface MineTabViewController ()

@end

@implementation MineTabViewController

-(id) init {
    self = [super initWithNibName: nil bundle: nil];
    if (self) {
        self.title = NSLocalizedStringFromTable(@"Tab Mine", @"Localizable", @"My Activities");
        
        UITabBarItem *mineTab = [self tabBarItem];
        UIImage *mineImage = [UIImage imageNamed: @"mine.png"];
        mineTab.image = mineImage;
        mineTab.title = NSLocalizedStringFromTable(@"Tab Mine", @"Localizable", @"My Activities");        
        self.tabBarItem = mineTab;
    }
    return self;
}

-(id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    return [self init];
}

-(void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

-(void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end
